# -*- coding: utf-8 -*-
"""
Created on Sun Sep 17 08:44:26 2023

@author: 楠川之木
"""

import math

r = float(input("请输入圆柱体的半径："))
h = float(input("请输入圆柱体的高度："))

v = math.pi * r * r * h
s = 2*math.pi*r*r+2*math.pi*r*h
print("圆柱体的表面积为：%.2f" %s)
print("圆柱体的体积为：%.2f" %v)
